<?php
class Items extends MY_Controller {
	public function view($page="home"){
		$this->checkViewPage($page);
		$data['title'] = ucfirst($page); //將title中的第一個字母大寫
		$this->go("items", $page, $data);
		//$this->load->view('templates/header', $data); //加進表頭template
		//$this->load->view('items/'.$page, $data); 
		//$this->load->view('templates/footer', $data); //加進表尾template
	}
}
?>